<?php

require_once(dirname(__FILE__).'/../user/UCModUserStatistics.php');//用户统计库
$userStatistics = new UCModUserStatistics('1217461921');

//$userStatistics = new UCModUserStatistics('772540324');
$tuita_total_num = $userStatistics -> getValue(UC_STAT_MOOD_CNT);
var_dump("tuita_total_num=".$tuita_total_num);
$mood_medal_cnt = $userStatistics -> getValue(UC_STAT_MOOD_MEDAL_CNT);
var_dump("mood_medal_cnt=".$mood_medal_cnt);
$convey_cnt = $userStatistics -> getValue(UC_STAT_MOOD_RETWITTER_CNT);
var_dump("convey_cnt=".$convey_cnt);


exit;

$content = '  http://www.google.com.hk/url?q=http://www.google.com/ig/adde%3Fmoduleurl%3Dwww.google.com/ig/modules/global_football.xml%26hl%3Dzh-cn&sa=X&ei=jKQRTKu8I8iJcIu18csH&ved=0CDQQ5AEoADAD&usg=AFQjCNHh0b0Ld2JgfKe5PYT_idDY3p5k1Q';
preg_match_all('|http(s)?://([\w-]+\.)+[\w-]+(/[\w-:./?%&=+&amp;]*)?|i',$content,$matches);
var_dump($matches);
exit;


$content ='俺就进不去，俺的内存小，是@sebrina 128兆的，非得用我那个内存64G的新机子才能玩！哈哈//@陈玉祥：转推：进不去~~ 慰问品较为加尔佩较为破@圍毆葒錒啝泙1 危居文沛加为破而居文沛3223-233-3-323 @ㄋ们好ㄚ！文件欧文奖品为精品@↓ｂ倒挖ｄ，为较为破奖品为';
preg_match_all('/@[^`~·～！\!@#￥\$%……\^\&\*\(\)（）\-——\+=\{\}\[\]『』【】\|\\、;；:\：“‘\'\"<>《》,\.，。\/\?？ ]+/u', $content,$matches);
var_dump($matches);

